package com.wanlian.netty.msg.Device.model;

import com.wanlian.json.JsonStringUtil;
import com.wanlian.netty.msg.BaseMsg;
import com.wanlian.netty.msg.MsgType;

/**
 *
 */
public class FileStorageSizeReq extends BaseMsg {
   private FileStorage fileStorage;

   public FileStorageSizeReq(){
       super();
       this.setType(MsgType.DEVICE_BLACK_STATUS_SET);
   }

    public FileStorage getFileStorage() {
        return fileStorage;
    }

    public void setFileStorage(FileStorage fileStorage) {
        this.fileStorage = fileStorage;
        this.setContent(JsonStringUtil.writeValueAsString(this.fileStorage));
    }
}
